package com.cash.app.utils.extra.model

class NetWorkData {
    var ip: String? = null
    var current_wifi: NetWorkInfo = NetWorkInfo()
    var configured_wifi: MutableList<NetWorkInfo> = mutableListOf()

    override fun toString(): String {
        return "NetWorkData(ip=$ip, current_wifi=$current_wifi, configured_wifi=$configured_wifi)"
    }

    class NetWorkInfo {
        var bssid: String? = null
        var ssid: String? = null
        var name: String? = null
        var mac: String? = null

        constructor()

        constructor(bssid: String?, ssid: String?, name: String?) {
            this.bssid = bssid
            this.ssid = ssid
            this.name = name
        }

        override fun toString(): String {
            return "NetWorkInfo(bssid=$bssid, ssid=$ssid, name=$name, mac=$mac)"
        }
    }
}
